#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int arr[3];
	int* p = arr;
	for (int i = 0; i < 3; i++)
	{
		scanf("%d", p + i);
	}

	int max = 0;
	for (int i = 0; i < 3; i++)
	{
		if (max < p[i])
		{
			max = p[i];
		}
	}

	printf("%d", max);
	return 0;
}